/**
 * Person.java
 *
 * @author: ZhuJiahui
 * @date: 2018/9/2 21:58
 */
package com.zhujiahui.springboot.domain;

/**
 * @description:
 * @author: ZhuJiahui
 * @version: 1.0
 */
public class Person {

    private int pid;

    private String pname;

    private int page;

    public Person(int pid, String pname, int page) {
        this.pid = pid;
        this.pname = pname;
        this.page = page;
    }

    @Override
    public String toString() {
        return "Person{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", page=" + page +
                '}';
    }

    /**
     * 获取
     *
     * @return pid
     */
    public int getPid() {
        return this.pid;
    }

    /**
     * 设置
     *
     * @param pid
     */
    public void setPid(int pid) {
        this.pid = pid;
    }

    /**
     * 获取
     *
     * @return pname
     */
    public String getPname() {
        return this.pname;
    }

    /**
     * 设置
     *
     * @param pname
     */
    public void setPname(String pname) {
        this.pname = pname;
    }

    /**
     * 获取
     *
     * @return page
     */
    public int getPage() {
        return this.page;
    }

    /**
     * 设置
     *
     * @param page
     */
    public void setPage(int page) {
        this.page = page;
    }
}
